home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 13 / CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso / CUCD / Graphics / Ghostscript / doc / ps2pdf.txt < prev    next >
Text File  |  1997-04-12  |  4KB  |  97 lines

  1.    Copyright (C) 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of Aladdin Ghostscript.
  4.   
  5.   Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  9.   License (the "License") for full details.
  10.   
  11.   Every copy of Aladdin Ghostscript must include a copy of the License,
  12.   normally in a plain ASCII text file named PUBLIC.  The License grants you
  13.   the right to copy, modify and redistribute Aladdin Ghostscript, but only
  14.   under certain conditions described in the License.  Among other things, the
  15.   License requires that the copyright notice and this notice be preserved on
  16.   all copies.
  17.  
  18. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  19.  
  20. This file, ps2pdf.txt, contains some information about Ghostscript's
  21. PostScript to PDF converter.
  22.  
  23. For an overview of Ghostscript and a list of the documentation files, see
  24. README.  
  25.  
  26. About ps2pdf
  27. ============
  28.  
  29. ps2pdf is a work-alike for a large subset of Adobe's Acrobat Distiller (TM)
  30. product: it converts PostScript files to PDF files.
  31.  
  32. ps2pdf is implemented as a very small shell script (batch file) that invokes
  33. Ghostscript selecting a special "output device" called pdfwrite.  In order
  34. to use ps2pdf, you must have included the pdfwrite device in the DEVICE_DEVS
  35. list at the time Ghostscript was built.  Currently, this device is included
  36. in the makefiles for all 32- and 64-bit platforms.
  37.  
  38. The usage for ps2pdf is:
  39.     ps2pdf input.ps output.pdf
  40. or
  41.     ps2pdf input.ps
  42. which is equivalent to
  43.     ps2pdf input.ps input.pdf
  44.  
  45. Limitations
  46. ===========
  47.  
  48. The most serious limitation of ps2pdf is that text in any font other than
  49. the 13 Adobe base fonts (Courier, Times, and Helvetica families, and Symbol)
  50. is converted to bitmaps.  ps2pdf also usually converts strings to bitmaps if
  51. the string is in one of the 13 base fonts but it contains a character that
  52. uses a non-standard encoding.
  53.  
  54. ps2pdf currently does not implement any of the image resampling or
  55. compression options of Distiller.  It does implement setdistillerparams, and
  56. recognizes all of the parameters documented in Adobe Technical Note #5151
  57. except for the ImageDict parameters, but the only one that actually has any
  58. effect is ASCII85EncodePages.  It could implement LZWEncode, but doesn't do
  59. so because of Unisys' threats regarding the Welch patent.
  60.  
  61. Known problems
  62. ==============
  63.  
  64. In some cases, PDF files created using ps2pdf work with Adobe Acrobat on
  65. Unix but fail using the Windows version of Acrobat.  One error that has been
  66. observed using versions of Acrobat reader for Windows is: "There was an
  67. error processing a page. A rasterizer error occurred."  This error has been
  68. observed using both Acrobat version 2.1 and the Alpha 2 release of Adobe
  69. Amber.  (Adobe may have fixed this problem by now.)
  70.  
  71. Benefits of using ps2pdf
  72. ========================
  73.  
  74. Despite the limitations of ps2pdf, the class of "suitable" documents is a
  75. large one.  Many users report that the combination of of ps2pdf with Acrobat
  76. is be superior to using a generic PostScript viewer (psview or ghostview),
  77. particularly for documents with many pages where the navigational support in
  78. PDF files reduces the overhead involved in navigating conventional
  79. PostScript documents.
  80.  
  81. For certain documents, ps2pdf is much faster than Adobe Distiller, and may
  82. be suitable for run-time conversions.  [Note from George White: I haven't
  83. seen a head to head comparison, but distiller seems slower when running on
  84. what should be a faster system (e.g., distiller on a PPC Mac vs a 25 mhz
  85. '040 NeXT running ps2pdf), so I think this is fair -- also, one of Mark
  86. Doyle's postings indicated that distiller was not fast enough for use as a
  87. run-time server.  In contrast, I find that I can use ps2pdf as a
  88. post-processor during routine document creation.]
  89.  
  90. Acknowledgements
  91. ================
  92.  
  93. Thanks to George N. White III of the Ocean Sciences Division of the Bedford
  94. Institute of Oceanography in Dartmouth, Nova Scotia <aa056@chebucto.ns.ca>,
  95. for extensive testing of early versions of ps2pdf, and for contributing most
  96. of this writeup.
  97.